package com.infocollect.project.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.infocollect.project.api.enums.ApiTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@ApiModel("Api接口配置")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tapp_apiconfig")
public class TappApiConfigEntity {
    @ApiModelProperty("主键")
    @TableId
    private Long fid;
    @ApiModelProperty("创建时间")
    private Date fcreationdate;
    @ApiModelProperty("创建人")
    private String fcreateby;
    @ApiModelProperty("最后修改时间")
    private Date flastupdatedate;
    @ApiModelProperty("最后修改人")
    private String flastupdateby;
    @ApiModelProperty("方法中文名称")
    private String methodName;
    @ApiModelProperty("方法说明")
    private String remarks;
    @ApiModelProperty("方法类型(1列表方法2查询方法，3保存方法)")
    private ApiTypeEnum methodType;
    @ApiModelProperty("方法名称")
    private String methodCode;
    @ApiModelProperty("调用方法code")
    private String callMethodCode;
    @ApiModelProperty("参数配置JSON")
    private String paramConfig;
    @ApiModelProperty("方法类型为1 设置前端列表头部信息的")
    private String headList;
    @ApiModelProperty("包Id")
    private Long pageId;
    @ApiModelProperty("版本ID")
    private Integer versions;
    @ApiModelProperty("执行sqlID")
    private Long executeSqlId;
    @ApiModelProperty("设置显示的列")
    private String showCelNames;
}
